home *** CD-ROM | disk | FTP | other *** search
/ QuickTime 2.0 Developer Kit / QuickTime 2.0 Developer Kit.iso / mac / MAC / Programming Stuff / Interfaces / PInterfaces / Start.p < prev    next >
Encoding:
Text File  |  1994-11-11  |  2.1 KB  |  110 lines  |  [TEXT/MPS ]

  1. {
  2.      File:        Start.p
  3.  
  4.      Copyright:    © 1984-1994 by Apple Computer, Inc.
  5.                  All rights reserved.
  6.  
  7.      Version:    Universal Interfaces 2.0a3  ETO #16, MPW prerelease.  Friday, November 11, 1994. 
  8.  
  9.      Bugs?:        If you find a problem with this file, send the file and version
  10.                  information (from above) and the problem description to:
  11.  
  12.                      Internet:    apple.bugs@applelink.apple.com
  13.                      AppleLink:    APPLE.BUGS
  14.  
  15. }
  16.  
  17. {$IFC UNDEFINED UsingIncludes}
  18. {$SETC UsingIncludes := 0}
  19. {$ENDC}
  20.  
  21. {$IFC NOT UsingIncludes}
  22.  UNIT Start;
  23.  INTERFACE
  24. {$ENDC}
  25.  
  26. {$IFC UNDEFINED __START__}
  27. {$SETC __START__ := 1}
  28.  
  29. {$I+}
  30. {$SETC StartIncludes := UsingIncludes}
  31. {$SETC UsingIncludes := 1}
  32.  
  33.  
  34. {$IFC UNDEFINED __TYPES__}
  35. {$I Types.p}
  36. {$ENDC}
  37. {    ConditionalMacros.p                                            }
  38.  
  39. {$PUSH}
  40. {$ALIGN MAC68K}
  41. {$LibExport+}
  42.  
  43. TYPE
  44.     DefStartRec = RECORD
  45.         CASE INTEGER OF
  46.         0: (
  47.             sdExtDevID:                    SignedByte;
  48.             sdPartition:                SignedByte;
  49.             sdSlotNum:                    SignedByte;
  50.             sdSRsrcID:                    SignedByte;
  51.            );
  52.         1: (
  53.             sdReserved1:                SignedByte;
  54.             sdReserved2:                SignedByte;
  55.             sdRefNum:                    INTEGER;
  56.            );
  57.     END;
  58.     DefStartPtr = ^DefStartRec;
  59.  
  60.     DefVideoRec = RECORD
  61.         sdSlot:                    SignedByte;
  62.         sdsResource:            SignedByte;
  63.     END;
  64.     DefVideoPtr = ^DefVideoRec;
  65.  
  66.     DefOSRec = RECORD
  67.         sdReserved:                SignedByte;
  68.         sdOSType:                SignedByte;
  69.     END;
  70.     DefOSPtr = ^DefOSRec;
  71.  
  72.  
  73. PROCEDURE GetDefaultStartup(paramBlock: DefStartPtr);
  74.     {$IFC NOT GENERATINGCFM}
  75.     INLINE $205F, $A07D;
  76.     {$ENDC}
  77. PROCEDURE SetDefaultStartup(paramBlock: DefStartPtr);
  78.     {$IFC NOT GENERATINGCFM}
  79.     INLINE $205F, $A07E;
  80.     {$ENDC}
  81. PROCEDURE GetVideoDefault(paramBlock: DefVideoPtr);
  82.     {$IFC NOT GENERATINGCFM}
  83.     INLINE $205F, $A080;
  84.     {$ENDC}
  85. PROCEDURE SetVideoDefault(paramBlock: DefVideoPtr);
  86.     {$IFC NOT GENERATINGCFM}
  87.     INLINE $205F, $A081;
  88.     {$ENDC}
  89. PROCEDURE GetOSDefault(paramBlock: DefOSPtr);
  90.     {$IFC NOT GENERATINGCFM}
  91.     INLINE $205F, $A084;
  92.     {$ENDC}
  93. PROCEDURE SetOSDefault(paramBlock: DefOSPtr);
  94.     {$IFC NOT GENERATINGCFM}
  95.     INLINE $205F, $A083;
  96.     {$ENDC}
  97. PROCEDURE SetTimeout(count: INTEGER);
  98. PROCEDURE GetTimeout(VAR count: INTEGER);
  99.  
  100. {$ALIGN RESET}
  101. {$POP}
  102.  
  103. {$SETC UsingIncludes := StartIncludes}
  104.  
  105. {$ENDC} {__START__}
  106.  
  107. {$IFC NOT UsingIncludes}
  108.  END.
  109. {$ENDC}
  110.